package com.cy.milktea.service;

import com.cy.milktea.pojo.Stock;
import com.github.pagehelper.PageInfo;

import java.util.Date;


public interface StockService {

    void add(Stock stock);

    void delete(Integer id);

    void update(Stock stock);

    PageInfo<Stock> query(String name, Date date,String sort);
}
